import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'login',
      component: () => import('../views/User/login.vue'),
    },
    {
      path: '/MenuView',
      name: 'MenuView',
      component: () => import('../views/MenuView.vue'),
      children:[
        // {
        //   path: 'Permission',
        //   name: 'Permission',
        //   component: () => import('../views/User/Permission.vue'),
        // },
       ]
    },
  ],
})

export default router
